package com.cykj.controller;

import com.cykj.service.VisitRecordService;
import com.cykj.util.ResponseDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/record")
@RestController
public class VisitRecordController {
    @Autowired
    private VisitRecordService visitRecordService;
    @RequestMapping("/insertInfo")
    public ResponseDto insertInfo( int adminId, String summary, String examId){
        return visitRecordService.insertInfo( adminId, summary, examId);
    }
}
